package com.vdong.common.oauth.common.authorize.redirect;

/**
 * @author 刀锋
 * @date : Create in 11:06 2018/7/2
 * @description:
 */
public class SimpleRedirectMatcher implements RedirectMatcher{
    @Override
    public boolean isMatch(RedirectUrlAndPattern redirectUrlAndPattern, String url) {
        String pattern = redirectUrlAndPattern.getPattern();
        return url.contains(pattern);
    }
}
